﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using daSyntaxAnalyser.SyntaxTree;

namespace CQLQueries.SyntaxTree
{
    public class Relation3Node
    {
        public object NodeTree;
        public object ValueDown;
        public object ValueUp;

        public Relation2Node Relation2;

        public Relation3Node()
        {            
        }

        public void Visit()
        {
            Relation2.NodeTree = NodeTree;
            Relation2.Visit();
            ValueUp = (bool)ValueDown && (bool)Relation2.ValueUp;
        }
    }
}
